package com.zhentao.controller;

import com.zhentao.common.Result;
import com.zhentao.domain.dto.PageDto;
import com.zhentao.service.SysSiteRecordService;
import com.zhentao.service.SysUserSiteService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName: SysSiteRecordController
 * @Desrciption: Mr.chengfenzhan
 * @Author: 知安_程烽展
 * @Date: 2024/9/8 15:41
 */
@RestController
@RequestMapping("/syssiterecord")
@Tag(name = "站点记录")
public class SysSiteRecordController {
    @Autowired
    private SysSiteRecordService service;
    @PostMapping("/getData")
    @Operation(summary = "获取站点记录列表")
    public Result getData(@RequestBody PageDto pageDto){
        return service.getData(pageDto);
    }

}
